package org.xjtu.weteam.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.xjtu.weteam.model.domain.User;
import org.xjtu.weteam.model.domain.UserTask;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Kevin
 */
public interface UserTaskService extends IService<UserTask> {
    Boolean saveBatchs(ArrayList<UserTask> userTasks);

    List<String> searchUserProfilesByTaskId(Integer taskId) throws IOException;

    List<User> getTaskUsers(Integer taskId);

    void removeRelationship(Integer taskId, List<Integer> userIds);
}

